﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="SBPweb.Communication.Server.Presentation.Web.Pages.Main" %>
<%@ Register Assembly="SBPweb.Forge.Controls.Web" Namespace="SBPweb.Forge.Controls.Web" TagPrefix="SBPweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        html, body {
	        height: 100%;
	        overflow: hidden;
        }
        body {
	        padding: 0;
	        margin: 0;
	        background-color: #FFFFFF;
        }
        #silverlightControlHost {
	        height: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" style="height:100%;">
        <asp:ScriptManager ID="smMain" runat="server" />
        <div id="silverlightControlHost">
            <SBPweb:SilverlightContainer ID="Silverlight1" runat="server" Width="100%" Height="100%" Source="~/ClientBin/SBPweb.Communication.Client.Presentation.Silverlight.xap" Windowless="True" PluginBackground="Transparent"
                InitParameters="ConnectionManager.server=espirit.hu,ConnectionManager.resource=SBPweb Silverlight Jabber Client,ConnectionManager.sendAvailabilityWhenConnected=true,ConnectionManager.isCompressionNeeded=true,"
            />
        </div>
    </form>
</body>
</html>